# 一个等号是陈述；对于第二行的代码，可解读为“将变量car的值设置为'subaru'”。
# 两个等号是 发问；对于第五行的代码，可解读为“变量car的值是'subaru'吗？”。
# 大多数编程语言使用等号的方式都与这里演示的相同
car = 'subaru'
print("Is car == 'subaru'? I predict True.")
print("答案："+(str)(car == 'subaru'))
print("Is car == 'audi'? I predict False.")
print("答案："+(str)(car == 'audi'))
context_1 = "what's wrong with you?"
context_2 = "what's matter with you?"
print("context_1与context_2相等？答案是："+(str)(context_1 == context_2))
print("context_1的字符串是“what's wrong with you?”,答案是："+(str)(context_1.__eq__(context_1)))
name = "DESIY"
print(name.lower() == "desiy")
num_1 = 10
num_2 = 15
num_3 = 8
print("10小于8并且大于15？"+(str)(num_1<num_3 and num_1>num_2))
print("15大于10且大于8？"+(str)(num_2>num_1 and num_2>num_3))
print("10大于8或者大于15?"+(str)(num_1>num_3 or num_1>num_2))
banned_users = ['andrew', 'carolina', 'david']
yourname = "desiy"
if yourname not in banned_users:
    print(yourname.title() + ", your name is not in banned_users.")